<div class="add-phrase">
    <div class="heading">
        <h3>Добавить новую группу для Правил</h3>
    </div>
    <div class="content">
        <div class="add-content">
            <form action="{% url 'content:add_some_group' content_type=content_type %}" method="post">
            {% csrf_token %}
            {% for field, errors in form.errors.items %}
                {% for error in errors %}
                    <span>*{{ error }}</span>
                {% endfor %}
            {% endfor %}
            {% for field in form %}
                <div class="field">
                    {{ field.errors }}
                    {{ field.label }}
                    {{ field }}
                </div>
            {% endfor %}
            <input class="add" type="submit" value="Добавить">
        </form>
    </div>
</div>
